import Vue from 'vue'
import App from './App'
import {Button,Loading,MessageBox,Notification,Message} from 'element-ui';

Vue.config.productionTip = false 
Vue.component(Button.name,Button)
// Vue.use(Button)

Vue.prototype.$loading = Loading.service;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;

new Vue({
  el:'#app',
  render: h => h(App),
})